@import 'mixin';

// 上传 禁用 遮罩层
.van-uploader__wrapper--disabled {
  opacity: 1 !important;
}

.van-tabs__line {
  background-color: #2163e0 !important;
  width: 20px !important;
  height: 2px !important;
}

.van-dialog {
  border-radius: 6px !important;
  width: 250px !important;
  .van-dialog__header {
    font-family: PingFang SC Medium;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0px;
    color: #171819;
  }
  .van-dialog__message {
    font-family: PingFang SC Regular;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0px;
    /* 大灰 */
    color: #656c74;
  }
  .van-button__text {
    font-family: PingFang SC Medium;
    font-size: 14px;
    font-weight: normal;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0px;
  }
  .van-dialog__cancel {
    color: '#656C74';
  }
  .van-dialog__confirm {
    color: #2163e0;
  }
}

// 遮罩层
.van-overlay {
  // opacity: 0.7;
  /* 文字/常规黑(描述类文字) */
  // background: #000;
}
// 阻止vant 预览滚动条回到顶部
.van-overflow-hidden {
  overflow: visible !important;
}

// 选择器 隐藏默认样式
.van-picker__cancel,
.van-picker__confirm {
  display: none;
}
.van-picker__title {
  font-family: PingFangSCBold-Bold;
  font-size: 16px;
  font-weight: normal;
  line-height: 22px;
  letter-spacing: 0em;
  /* 文字/常规黑(描述类文字) */
  color: #171819;
  padding-left: 15px;
}

.van-picker__frame::after {
  border-color: #2163e0 !important;
}
.van-picker-column__item--selected {
  color: #2163e0 !important;
}

// popup 圆角度
.van-popup--round {
  border-radius: 8px 8px 0 0 !important;
}

// 级联选择 选择地址
.van-cascader {
  .van-cascader__header {
    display: none !important;
  }
  .van-tab--active {
    color: #2163e0 !important;
  }
  .van-cascader__selected-icon {
    display: none !important;
  }
  .van-cascader__option {
    /* 背景/分割线 */
    border: 0.5px solid #e2e7ec !important;
    height: 36px !important;
    margin: 10px 15px !important;
    display: flex !important;
    justify-content: center !important;
  }
  .van-cascader__option--selected {
    color: #2163e0 !important;
    /* 主色/营商篮(品牌色) */
    border: 1px solid #2163e0 !important;
  }
}

// 分类选择
.van-tree-select__item--active {
  color: #2163e0 !important;
}
.van-sidebar-item--select::before {
  background-color: #2163e0 !important;
}
